#include "Initial.h"
#include "SimpleElementS.h"
#include "ExtendElementS.h"
#include "matrix.h"
#include "PubKeyEquationGroup.h"
#include "MultiplyTable.h"

void InitialDimen(size_t littleDimen, size_t bigDimen)
{
	SimpleElementS::s_Dimen = littleDimen;
	SimpleElementS::s_Prime = LittlePrime[littleDimen - 1];

	ExtendElementS::s_Dimen = bigDimen;
	ExtendElementS::s_Prime = BigPrime[bigDimen - 1];
	
	PubKeyEquationGroup::s_VarNum = bigDimen;
}

void GetDimen(size_t &littleDimen, size_t &bigDimen)
{
	littleDimen = SimpleElementS::s_Dimen;
	bigDimen = ExtendElementS::s_Dimen;
}